Added functionality to follow an arbitary path
//