add pathfinding stuff