added addNode()