schedules are properly added to the database now