finished implementing responseForSearchRequest