Add calculate trip time method