start of saving waypoints