Implementing pathfinder