paging for resources