; ; (2) in subsection (g)(5), in subparagraph (B), by striking (y)(2) and all that follows and inserting (y), is in the United States not as an alien lawfully admitted for permanent residence; ; and (3) in subsection (y)— (A) in the header, by striking admitted under nonimmigrant visas .— and inserting not lawfully admitted for permanent residence.— ; (B) in paragraph (1), by amending subparagraph (B) to read as follows: (B) the term lawfully admitted for permanent residence has the same meaning as in section 101(a)(20) of the Immigration and Nationality Act ( 8 U.S.C. 1101(a)(20) ). ; (C) in paragraph (2), by striking under a nonimmigrant visa and inserting but not lawfully admitted for permanent residence