changed Node.append to Node.add