John Legend receives an honorary Doctor of Music during University of Pennsylvania's 258th Commencement ceremony at Franklin Field on May 19, 2014 in Philadelphia

John Legend receives an honorary Doctor of Music during University of Pennsylvania’s 258th Commencement ceremony at Franklin Field on May 19, 2014 in Philadelphia

*John Legend broke into song – his own song – during his commencement speech Monday (May 19) at the his alma mater, University of Pennsylvania.

“As a musician, this is about 10 hours before I go to work, so I’m gonna need a nap soon,” Legend joked with the new graduates. A few seconds later, he sang a self-deprecating remix of his smash hit, “All Of Me”: “All of you/Are so over me/You’re tired of hearing that I went to Penn/Why’d they bring him back again?” He laughed, then added, “That was my humblebrag way of saying that I have the biggest song in the country right now.”

Legend went on to talk about the importance of love, philanthropy and passion in finding your path — which the singer related to his own musical interests, which helped him overcome feeling “confused and disoriented” after the death of his grandmother and separation of his parents.

“I fell in love with music at a very young age,” Legend told the crowd, later adding, “We’re taught when we’re young that the opposite of love is hate, but it’s not. Hate is a byproduct, hate is a result. Being a hater isn’t cool — nobody wants that. But hate comes from one thing: fear. Fear is the opposite of love.”

Legend’s “All Of Me” topped the Hot 100 chart for the second straight week last week, after spending 30 weeks climbing to the summit. The single comes from his fourth solo studio album, last year’s “Love in the Future.”

Watch Legend’s UPenn commencement speech below: