support for/foreach statement