Scheduler first working implementation