All the opening braces should be on the same line as the function name, for loop, or conditional