Use ternary operator instead