we no longer need a stack in scheduler