Fixed naming conventions, curly braces, and indentions