prettier printing of ternary ops