Make if work (partialy).