added sched to the param list
added the iterations parameter