this should be foreach. It is a sideeffect.