Add ternary operater