adding results pagination