changes to create trip's response