Current limitations: pretty much tailored to Param_TSM see TODOs for places generalization can be added