refine timetable