By Rachel DeSantis
March 02, 2017 at 04:03 PM EST
Ben A. Pruchnie/Getty Images

Sir Ian McKellen is known for playing wise characters (Gandalf, Sherlock Holmes, Cogsworth — you get the idea) and as it turns out, the actor is just as wise off screen.

Following Warren Beatty and Faye Dunaway’s Oscars flub Sunday night, in which they announced the wrong Best Picture winner thanks to an envelope mix-up, McKellen gave his peers some too-little-too-late advice via Twitter.

“Next time, do what I always do when presenting,” McKellen advised in a note addressed to the duo formerly known as Bonnie and Clyde. “Backstage, before you go on, slyly and gently prise open the envelope and sneak a preview of its contents. If anyone asks what you are up to, explain you may need to check the pronunciation of the winner’s name or indeed who the winner actually is!”

Above, watch McKellen’s flawless technique in action at the 2004 Oscars, where he announced one of the Best Picture nominees, The Lord of the Rings: The Return of the King.