started work on scheduler