Getty Images

Watch Kendrick Lamar Expertly Censor His Lyrics Performing For President Obama

Because you gotta do that kinda thing for a president

President Obama could probably get just about anyone to perform at his and the White House's 4th of July celebration. So why not choose the dude who recorded your favorite song of 2015?

That's what he did on Monday, when Kendrick Lamarwhose "How Much a Dollar Coast?" was an Obama favorite — performed for the president and military families during this year's Independence Day celebration. Obama must have not gotten his requests in in time, though, because "How Much a Dollar Cost?" didn't show up on the set list. Instead, it was a handful of the 29-year-old's more popular songs — including "Alright," "Swimming Pools" and "Bitch, Don't Kill My Vibe." Except actually, it was "Trick, Don't Kill My Vibe," because Kendrick Lamar is for the kids.

In addition to Dot, Janelle Monáe also performed, and the president had some kind words to say about the pair at the end of the event.

"These two, I've gotten a chance to know, and they are both amazing artists and talented and popular and doing great things, but they're also very conscious about their responsibilities and obligations, and they put in a lot of time and effort on behalf of a lot of causes that are important," he said. "We're really proud of them for that."