This was co-written by Keri Hilson, who also contributed to three other songs on Blackout. Hilson developed a nickname for Britney, "One-Take Jake." She explained to Rolling Stonemagazine: "With Britney, I need to get as much of any song done as I can [before she enters the studio]. She likes to record quickly, partly because she doesn't like to stand up for too long.