Pagination core finished