added paging for values