Use ternary operator