need `var i` (and space after `for`)