getting waypoints