formatting, ternary