Getting a crude implementation of trip length working for inbound