foreach statement support