add search_node method