Hamilton star and writer Lin-Manuel Miranda took the cast down to Washington D.C. for a special White House performance on Monday, but like the founding father, he went above and beyond expectations during the visit.

Miranda and President Obama convened in the Rose Garden for a quick freestyle rap about government, the president holding up cue cards with words like “immigrants” and “opportunity” to prompt Miranda’s rap.

For example: “We really need a new justice for the Supreme Court, in short, oh my gosh this is my book report. And immigrants, we get the job done, this is so fun, POTUS is holding up the signs, I’m not done.”

At the end, Miranda specified, “I did not see those words prior.”

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.