ternary > switch