implement "timetable n"