doesn't like null lastWaypoint...