modified index with new structure