Gene Wilder copies of Mel Brooks films, while "Willy Wonka & the Chocolate Factory" was not a commercial success, although it later gained a cult following and an Oscar nomination for Best Score, as well as a Golden Globe award nomination for Wilder. When Woody Allen offered him a role in one segment of "Everything You Always Wanted to Know About Sex* (*But Were Afraid to Ask)", Wilder accepted, hoping this would be the hit to put an end to his series of flops. "Everything ... " was a hit, grossing over $18 million in the United States alone against a $2-million
Gene Wilder budget. After "Everything You Always Wanted to Know About Sex* (*But Were Afraid to Ask)", Wilder began working on a script he called "Young Frankenstein". After he wrote a two-page scenario, he called Mel Brooks, who told him that it seemed like a "cute" idea, but showed little interest. A few months later, Wilder received a call from his agent, Mike Medavoy, who asked if he had anything where he could include Peter Boyle and Marty Feldman, his two new clients. Having just seen Feldman on television, Wilder was inspired to write a scene that takes place at Transylvania Station,