edited PathNode, changed PathNode design