text changes index