It was written .
It was composed by Maroon 5 frontman Adam Levine , Julia Michaels , Thomas Wesley Pentz , King Henry and Justin Tranter .
It was written and composed by Maroon 5 frontman Adam Levine , Julia Michaels , Thomas Wesley Pentz , King Henry and Justin Tranter .