This is a little confusing doing everything on the for condition.  I would rather be explicit and do the assign in the for body.