search_refactoring