ternary operator would work okay here