Adding index task