adds waypoint processing