accounting for sceanrio where no results are returned