; (2) by inserting religion, after sex, ; and (3) by inserting , except if expressly required by statute, or if a statutorily authorized benefit takes into consideration such factors before the period at the end. 3202. Transfer and limitations on authority to suspend or restrict the entry of a class of noncitizens Section 212(f) of the Immigration and Nationality Act ( 8 U.S.C. 1182(f) ) is amended to read as follows: (f) Authority To suspend or restrict the entry of a class of noncitizens (1) In general Subject to paragraph (2), if the Secretary of State, in consultation with the Secretary of Homeland Security, determines, based on specific and credible facts, that the entry of any noncitizens or any class of noncitizens into the United States would undermine the security or public safety of the United States, or the preservation of human rights, democratic processes or institutions, or international stability, the President may temporarily— (A) suspend the entry of such noncitizens or class of noncitizens as immigrants or nonimmigrants; or (B) impose any restriction on the entry of such noncitizens that the President considers appropriate. (2) Limitations In carrying out paragraph (1), the President, the Secretary of State, and the Secretary of Homeland Security shall— (A) issue a suspension or restriction only to the extent required to address specific acts implicating a compelling government interest in a factor identified in paragraph (1); (B) narrowly tailor the suspension or restriction, using the least restrictive means, to achieve such compelling government interest; (C) specify the duration of the suspension or restriction and set forth evidence justifying such duration; (D) consider waivers to any class-based restriction or suspension and apply a rebuttable presumption in favor of granting family-based and humanitarian waivers