added pathfind