added DoSearch()