added some functionality to TimeTable