 McCarthy and Siegel played a role in shaping the film's twist ending.Before filming, Kaufman had sought out Siegel for advice, and while the two were talking in the latter's office, McCarthy happened to come in.The topic eventually came around to the original film's ending, which they regarded as "pat".