Basic scheduling logic