those `if`s can be one-liners