It's a bit awkward to use ternaries for things other than assignments. It would be best to break this up into an ```if```/```else``` block.