with only two branches, is a `case` statement needed?