Cleaning up cameron's code in trips_helper.rb