Legacy CourseScheduler code