Factorize if for event 3 to 1