Adding Scheduler method