add function add_node to bunch and node.