construct the node