added iteration count to parameters