added the pagination options