add waypoints code