work on the schedular