ternary

created a ternary conditional statement.