Ternary operator instead