starting the scheduler