return useful information from creating trip
fix indenting