FLINT, MI -- One of rap's biggest stars brought more than 230 Flint Community Schools graduates to their feet Tuesday evening at the Dort Event Center with just the sound of his voice.

Prior to the seniors crossing the stage to applause from parents and friends, a picture of Eminem flashed onto four large screens high above the arena floor.

"What's up Class of 2017? This is Eminem. I just want to say congratulations to the graduating seniors of Flint Northwestern, Flint Southwestern and Flint Accelerated Learning Academy," blared the rapper's voice. "Congrats to all your guys' hard work, man. You earned this moment."

After Eminem's acknowledgment, the graduates all learned they wouldn't just be receiving their diplomas. The rapper's foundation would also help provide a new set of Beats by Dre headphones to each graduate.

Flint Northwestern senior Betty Davis, 18, was surprised after learning about the headphones being handed out to all the graduates.

"I thought he was just going to give his speech on the speaker and it just was going to be that," she said. "I greatly appreciate Eminem for giving out like he did. He didn't have to and the fact that he can see so much potential in Flint and Flint students, it just makes the gift so much more worth keeping."

Eminem and his Marshall Mathers Foundation reached out to the school district with the idea, according to Flint schools Superintendent Bilal Tawwab.

"I commend him for being very genuine, not really looking for all the attention, media hype, just really doing something for kids," Tawwab said. "We're really excited to be able to surprise them this evening (with the gift)."

It's the second giveaway by the rapper and his foundation to Flint schools, following more than 240 backpacks stuffed with supplies given away in August 2016 to Freeman Elementary students.

The evening included the giveaway, but also speeches from Tawwab and 1992 Flint Northwestern High graduate Tameka Thompson who spoke on the accomplishments of the senior class in the face of adversity they face coming up in the city.

"I would rather bet on a Flint graduate, someone who has been tested by adversity, who has transcended all the obstacles put in their way than someone who has coasted through life with every advantage," said Tawwab, drawing cheers. "You can do anything you want and for the first time in your lives you have the full power to set your own course. From this point on the decisions are yours."

Thompson spoke of those she called "dream killers" that may try to derail the graduates from achieving goals they set in life, but she reminded them of the astronauts, musicians, actors and athletes that have come from the city over the years.

"Imagine how far you'll go because you are from Flint," she said.

Heading to the U.S. Army with a goal of studying forensic psychology, Davis has pushed that message with her fellow seniors.

"Some of us, we might have that mindset that we can't make it, we can't do it," she said. "But things like this, things like today make us want to push forward, push to the top and I encourage my classmates as well to keep going. Don't stop just because somebody else tells you can't make it."