improvements to scheduling