$ 0 0 synonyms[index][i - 1] = words[i]; consider what values i can be and where in words"civilized" is.