Changed it to be ternary