choose to if else