Added ternary operator (inline conditionals)