added ternary example