My attempt At paging