Foreach defined