add basic functions to get timetable