Added ternary operator.