fixed curly braces
updated coding standards