trip service implementation