displayed the results and paginated them!.