add current index