Probably can do as ternary on a single line.