Added for general pagination functionality