Added paging to index