Carrie Underwood took a page from Taylor Swift’s break-up book when Carrie wrote her 2007 smash “Last Name.”

Before the country megastar performed at Keith Urban’s 5th annual All for the Hall benefit concert this week in Nashville, she revealed the story behind the song.

“Before I met my beautiful, wonderful, perfect hockey husband I had met this guy… I was telling [the co-writers] about this guy I met. They asked who he was, and I said, ‘Y'all! I don't even know his last name!’”

And so “Last Name” was born.

But Carrie clarifies not everything she sings about in the song happened in real life.

“We hadn’t even dated or anything and it didn’t turn out the way this song did, but I said, ‘We need to turn this mess into a song!’ And this is it.”

Rumor is Carrie will release brand-new music in 2014.