Imagine you had a chance to hang out with Lin Manuel Miranda but your history teacher is on your case about missing history class. (The Hamilton star was at his house for a charity function.)

That’s exactly what happened to 16-year-old Luke Stevens who missed a history test to spend some quality time with Lin Manuel Miranda, but when his teacher was skeptical of his excuse, the star recorded a video message for his teacher.

“This is Lin Manuel Miranda, I’m sorry he can’t be in U.S. history class right now, but he’s with me. We’re going to go over the Bill of Rights, and anything you may be covering right now,” Miranda said in the video. “We cover a lot in about two-and-a-half hours of ‘Hamilton,’ but we’re gonna go over it in specifics now. So this is not lost time, thank you for excusing him from class.”