give iterations with parameter.