Fixed braces for functions to be in the same line as decleration