use node.addNode so every node has a parent