Credit: Instagram

While we’re always hearing about former child running amok, from Justin Bieber’s legal troubles to Lindsay Lohan’s countless personal and professional issues, it looks like Hollywood has still managed to crank out a few good eggs.

Case in point: Aussie singer and Dancing With the Stars alum Cody Simpson earned himself a high school diploma this weekend.

The 17-year-old star donned his cap and gown to receive his diploma from Georgia’s Atlanta Country Day, where he completed his high school education through distance learning.

Announcing the big news to his Instagram followers, Cody said of his accomplishment, “Proud times! graduated high school as Valedictorian of my class today. finished high school at home administered through this lovely school here in the South, proud to have received the highest GPA of the school amidst this hectic lifestyle of mine. Anything can be accomplished if you open your mind!”

Cody, who spoke at the school’s graduation, not only blessed his peers with a little celebrity at their ceremony, but also imparted some words of wisdom to his classmates.

“Regardless of any kind of wealth or looks or material possessions or anything, it’s what’s in here [points to head] that’s going to get you furthest,” said Cody. “Intelligence is the sexiest thing in the world.”

Congratulations, Cody!

Source: Instagram