add log and support multiply timetable