uncomment prepareSchedule