adapt to new TransportDistance interface