Try ternary operator