Added each/foreach-type pattern