=== page 3 === The language of section 736 provides a bar on the use of appropriated funds to “pay for the painting of a portrait . . .” Pub. L. No. 114-113, § 736 (emphasis added). The prohibition is unambiguous in terms of what is being prescribed—payment for the act of creating pictures using paint. In our view, the statute prohibits only the use of appropriated funds to pay for the painting of a portrait of an officer or employee of the federal government. Thus, while section 736 prevents the Commission from using appropriated funds to directly pay for the painting of a portrait of an officer or employee of the federal government, nothing in section 736 prevents the Commission from exercising its gift acceptance authority to otherwise acquire a portrait. See 2 U.S.C. § 2108(a)(1)(B). Having found that the prohibition in section 736 applies only to the use of appropriated funds for paying for the painting of portraits, we turn to the question of expenses associated with the acceptance of donated portraits. Appropriated funds may be used only for authorized purposes. 31 U.S.C. § 1301(a). Expenditures that are neither expressly authorized, nor prohibited, are permissible only if they are reasonably necessary or incident to the proper execution of an authorized agency function, and if they bear a logical relationship to the appropriation sought to be charged. B-323449, Aug. 14, 2012, at 4; B-260260, Dec. 28, 1995, at 2. The application of this "necessary expense rule" is determinative as to whether the Commission may incur obligations for the costs associated with accepting donated portraits under its gift acceptance authority. We have consistently concluded that an agency may incur expenses necessary to carry out a statutorily authorized function. See, e.g., B-310865, Apr. 14, 2008 (finding that the Nuclear Regulatory Commission could use appropriated funds for credit monitoring services, where there was a statutory requirement to minimize damage resulting from security breaches); 2 Comp. Dec. 492 (1896) (concluding that an appropriation to erect a monument at the birthplace of George Washington could be used to construct an iron fence around the monument, where the fence was deemed necessary to protect the monument). We have also determined that an agency may incur necessary expenses in exercising its authority to accept gifts. In 1995, we reviewed whether, under the Public Health Service’s gift acceptance statute, the National Institutes of Health (NIH), a Public Health Service component, could use its appropriated funds to apply for grants from non-governmental sources. We determined that, since NIH had the authority to accept grants as conditional gifts under the statute, it could also use its appropriated funds to cover the costs incurred in applying for such grants. B-255474, Apr. 3, 1995. We do not view section 736 as preventing the Commission from incurring costs related to the exercise of its gift acceptance authority. Such costs could include, for example, costs incurred in meeting with an artist to ensure that a donated portrait achieves the same high quality as other artwork displayed in the Senate wing of the Page 3 B-327671