attempt at pathfind