first idea of the scheduler added