new index loop

new index loop with pagination