Renamed index to index2