Modification of method getDepartureTime()