switch to a "for" like syntax for from-each