Changed i = 10 to ++i just to be consistent