changes to index2