 Production team Stargate and singer-songwriter Ne-Yo had written for Beyoncé's second album "B'Day", but Tor Erik Hermansen of Stargate said that they might not have gone in the direction they did on the song.The tune did not suit Beyoncé's voice, and Ne-Yo wrote the lyrics from a male perspective, although it was not based upon his personal experiences.Ne-Yo wrote the song in the country style, thinking of country singers Shania Twain and Faith Hill during the sessions.