adding index locations