Correctly implemented functions at adds a node.