paging working finally