Never ever write if statements without braces. Never ever put a semicolon at the end of an if.