fixed ternary