more pagination math