added page number to the paginator