Fixed brace placement and converted spaces to tabs.