{ on same line as if + spaces around == operator