Braces do not go on a separate line after conditional statements or loops. "for" is not a function so put a space in there before the parenthesis.