This was co-written by Jennifer Lopez and Cory Rooney for the 2001 Adam Shankman-directed romantic comedy The Wedding Planner
. Cory Rooney recalled to Songwriter Universe
: "Jennifer and I were in Canada, and we wanted to write a song [which was originally intended] for her movie, The Wedding Planner
. The music popped in my head, and I went home and worked on the track. Then I sat with Jennifer and we banged out the song."
"Tommy (Mottola) was even involved with writing the song," Rooney added. "He was so enthusiastic about the track, that he contributed melody ideas to the song."