showPagination is redundant