adding index task