swapped schedule.init params