s/foreach/for/ (thx mxf)