modified def of dep and arrival time