edited index and added index2