insert If_A_or_B If_A_and_B statements