changed index for grammer