Completed if, else, ternary