(CNN) — Graduates from the University of Massachusetts Boston left their graduation ceremony with more than just diplomas thanks to a generous billionaire.

Before walking the stage Thursday, 2,000 undergraduate students learned they’d be receiving two envelopes containing a total of $1,000, according to the university.