implemented timetables checking (not tested yet)