Corrected Scheduler instantiation