added ternary notation to readme