Use ternary instead of disjunction