modified index to new format