Where's the flame emoji when you need it?

If you've ever thought that Justin Bieber's 'Love Yourself' sounded suspiciously like an Ed Sheeran song, well that's because it was written by him.

That's common knowledge of course, but now Sheeran has talked about how the song was originally set for his new album 'Divide', but 'it just wouldn't have made it', as he told Carson Daly on his US radio show yesterday morning.

Sheeran said that Bieber had 'some input' on the track, but generally he had written it off before he passed it on to his fellow pop star.

"And then Justin took it and did his thing on it, and released it as a single and made it what it is," he said. "So going from a song that would have never been released to the biggest song of last year -- it just became Billboard's #1 of 2016 of the whole year, and [was] nominated for Song of the Year at the GRAMMYs -- it just shows you that you shouldn’t always write stuff off.”

He also spoke about the Major Lazer song that featured Bieber, 'Cold Water', which he also had a hand in - without even realising.

He said: "Cold Water’ was a weird one because I didn’t even know that song existed. It was a song I must’ve half-written somewhere at a time where I was writing a lot of songs and I did it at Benny Blanco’s house and then I got an email from Diplo just being like, ‘Yo! That ‘Cold Water’ song is dope! Can I have it?’ And I was like, ‘I have no idea what you’re talking about,’ so I just didn’t reply.

"And then he emailed and was like, “Yo, Justin wants to hop on the ‘Cold Water’ song. Is that cool?’ And I’m just like, ‘What are you talking about?’ And then the song came out and it was number one and I was like ‘Oh, that song!’ I remember doing it, but it was really, really slow. I remember hearing it and being like ‘That kind of sounds like me. Oh wait, it was me.'"

So, Ed Sheeran is now at the point where he doesn't even have to think about writing worldwide smash hits. Well for some.