populating the schedule table