add dist/trip to CSV; remove trailing ;
simulator code