Please use braces around if/else conditionals like this, or use the ? operator if you are bothered by the verbosity.