added add_search method