add output of str(trip_history) to import code