partial_search is a private method, changed it to search