index order corrected