Added paging had to add page pointer