issues with paramsToIter resolved