added some simple pagination