adding index to the section