added all operator to if