made addTrip public