[Scheduler] Working version :)