Scheduler for the hard tasks. NOT TESTED