Timetable skeleton code