made pathfind static