added time and distance to output of pathgen