PUB-456 ternary ops