Add ternary operator