Starting making the pagination