recalculate by arrival time