add trip_distance method