made minor changes to trip.py