Move to ternary condition