Will Gluck stated that the principle of the story began with the concept that he preferred to operate with Kunis and Timberlake, outlining that he rewrote the script for the two actors. Following people changes, Gluck expressed that he needed to attract a much more grownup audience and that he "wanted to do more of an grownup motion picture about sexual intercourse, too, and about interactions".