The song was co-produced by Anton "Zedd" Zaslavski, whose remix of Lady Gaga's "Marry The Night
" track appeared on the special edition of her Born This Way
album. "I made the song and I didn't know who to give it to," Zedd told MTV News. "And Bieber was actually the first, or his people hit us up. They heard the song and they were like, 'Please, let's try it out.' And I wasn't convinced at first, to be completely honest," he added. "But then it started with the fact that he was early in the studio, which just never happens — like never happens. And then he was just extremely fast. He nailed the song in an hour and sounded amazing. And then it was no question for me. I don't need to try someone else out if I know this is right."