renamed coursesToSchedule