use a ternary