Scheduler implementation