add search result method for expected value