thanks , but how can i define who waypoint is closer?