Change nodeName to newNodeName