Trying to get paginator to work