change raoch to just pass the schedule and the date to scheduler.