started ghost pathfind logic