Changed tabs to spaces.
Put curly braces on their own line.