I find these ternary's hard to read. They're nice for short tests, but this spans over 80 chars. Could you split it into an `if` block?