separete a process of set up a node object
add some methods to node