Added pathfinding