Code style: we don't use the ternary operator, instead preferring to spell out the conditional.