working on rendering search results