basic paging now working