made paging work