Dropping `switch` for ternary format