Ternaries

decision making on one line to simplify the coding markup