Please surround all blocks (if, while, switch etc) with empty lines.