made timetable get timetable working