add `{}` brackets even we only have one line if/else.