 McCarey had two guides for directing the film.The first was that he believed the film was the "story of my life", because McCarey based many scenes and comic moments on misunderstandings he had had with his own wife (although they never accused one another of infidelity).The second guide was McCarey's own lengthy experience directing comedy.