#2 Finish the pagination.