Create ternaryOperator