implement scheduleManager