Change i variable to more meaningful name -- one should not use i or j for non-iterator.