handle no results and end of results better