finding the pagination variables
Pagination class