promoting distanceFromStart and distanceFromPrevious to actual object to make it easier to query on