Getting the paginator working