added index and index2