simple pagination example now working