if else terenery created