Completed if else ternary