tree_search added