pathfinding added 3