Adding curley braces around single line functions.

removing whitespace.