add feature in pathfinding