- implemented waypoint cache