Pagination framework in place. Need logic