Cosmetics: add a space between if and the paranthesis and you can drop the { } if there's only one line following the if-condition.