added pagination to index batman