more work on paging