Switch out long form ternary operators for short form.