Setting up ternary.