Jamie Foxx and actor/comedian Jay Pharoah were recent guests on The Ellen Show, where they participated in the Impressions Game. During the segment, they were tasked with doing impersonations of various celebrities, including Kanye West, JAY-Z, Pharrell, Beyoncé, Barack Obama and Oprah.

Foxx even does some beatboxing in honor of N.E.R.D.

Every time they pulled one off, host Ellen DeGeneres would donate money to a hurricane relief fund (courtesy of Cheerios).

Watch the segment above.