pathfinding by press E