added index to peer