It was written by Crystal Johnson , Mikkel S. Eriksen and Tor Erik Hermansen from the Norwegian production team Stargate and Sandy Vee .
Written by Crystal Johnson , Mikkel S. Eriksen and Tor Erik Hermansen from the Norwegian production team Stargate and Sandy Vee , with the latter two also handling production , the song was released from September 10 , 2010 , as the lead single from Loud .