work on paging search results.