added a Scheduler