made changes, added index2