add method to get results of search