added Ternary example to formula, going to delete it and show real example