pathNodes working yet unstable