Moved braces to conform to code style