Who knew Justin Timberlake and Ryan Gosling used to be partners in crime?

In Time's Timberlake, 30, recently stopped by The Ellen DeGeneres Show, where he reminisced about his days on The Mickey Mouse Club with former costar Gosling, 30.

"We used to do terrible things. We thought we were so cool," Timberlake recalled. "Looking back on them, they weren't as bad as I thought they were at the time. We stole a golf cart. And we were like, 'Yeah, man. We're stealing a golf cart!'"

"We drove into MGM Studios, which is totally illegal by the way," he added. "I was like, 'What do you want to do thug? And Ryan was like, 'I don't know, cuz…because that's definitely how we talked."

All kidding aside, the future A-listers bonded after Timberlake's mother, Lynn Harless, became Gosling's legal guardian for six months. "His mother had to keep her job in Canada the second year that we were on the television show," Timberlake explained. "We were probably a little closer that the rest of the kids that were on the show just because we had to share a bathroom."

Though Timberlake said it's been "hard to keep up with" Gosling since their MMC days, he thinks Gosling has become an "unbelievable" leading man. "I think he's one of the best actors of our generation."

Timberlake's apperance on The Ellen DeGeneres Show airs Thursday.