Use ternary condition