made general searcher generic