Added "getTimetable" function