added timetable function, not sure how to implement it yet