added customisation for the pagination