prepare for new scheduler