(1) In general Subsection (a) shall not apply with respect to the holdings of a private foundation in any business enterprise which for the taxable year meets— (A) the exclusive ownership requirements of paragraph (2), (B) the all profits to charity requirement of paragraph (3), and (C) the independent operation requirements of paragraph (4). (2) Exclusive ownership The exclusive ownership requirements of this paragraph are met if— (A) all ownership interests in the business enterprise are held by the private foundation at all times during the taxable year, and (B) all the private foundation’s ownership interests in the business enterprise were acquired under the terms of a will or trust upon the death of the testator or settlor, as the case may be. (3) All profits to charity (A) In general The all profits to charity requirement of this paragraph is met if the business enterprise, not later than 120 days after the close of the taxable year, distributes an amount equal to its net operating income for such taxable year to the private foundation. (B) Net operating income For purposes of this paragraph, the net operating income of any business enterprise for any taxable year is an amount equal to the gross income of the business enterprise for the taxable year, reduced by the sum of— (i) the deductions allowed by chapter 1 for the taxable year which are directly connected with the production of such income, (ii) the tax imposed by chapter 1 on the business enterprise for the taxable year, and (iii) an amount for a reasonable reserve for working capital and other business needs of the business enterprise. (4) Independent operation The independent operation requirements of this paragraph are met if, at all times during the taxable year— (A) no substantial contributor (as defined in section 4958(c)(3)(C)) to the private foundation, or family member of such a contributor (determined under section 4958(f)(4)), is a director, officer, trustee, manager, employee, or contractor of the business enterprise (or an individual