update reporting with number of params
optimization: logical issue corrected