Stephen Sondheimhas a cameo inTick, Tick…Boom!but you’d never know it’s there.

It energizes him and inspires him to write, just as he’s about to give up.

But directorLin-Manuel Mirandareveals that he ended up using a recording of Sondheim in that sequence.

Stephen Sondheim

(L-R) Stephen Sondheim and Andrew Garfield.Michael Stewart/Getty Images; Macall Polay/NETFLIX

“I was in contact with Steve throughout.

I showed him the pages,” he tells EW.

“I showed him Steve’s dialogue.”

I don’t feel like I would ever really say that.

Can I rewrite it?'

I was like, ‘Gosh, a rewrite from Stephen Sondheim do I accept this?'"

“It makes me weep to even think about,” gushes Miranda.

“Because he was such a mentor to Jon and generations of songwriters.

But yes, he rewrote that message and recorded it himself and just sent it to me.”

He’s not good, he’s not nice, he’s Stephen Sondheim.