added working pagination example