multiline if/while fixed, basic foreach