added _search functionality