remove ternary