Added back pathfinding