simulating timetable