how to use if else