pathfinding part 2