Step 1 in correcting the code; codestyle.

Moved all "{" brackets to a new line.