Replace index variable name