changed to [i]