handle cases of 0 or only 1 search results