add paging method