Format index