new method in the pagination library