changed the pagination from 3 to 5