start refactor for gpx versions