working on waypoint generator