This infectious dance track was penned by Bruno Mars, Phillip Lawrence and Ari Levine, who comprise the California-based production team The Smeezingtons. In addition to writing Mars' material, the trio have also written successful singles for other artists such as Justin Bieber's "Love Me
" and Cee-Lo Green's "Forget You
. The song was produced by the famed pop hitmaker Dr. Luke.