add pathfinding