Toys (1992). Unusually for an animated film, much of Williams's dialogue was ad-libbed. For some scenes, Williams was given topics and dialogue suggestions, but allowed to improvise his lines. It was estimated that Williams improvised 52 characters. Eric Goldberg, the supervising animator for the Genie, then reviewed Williams's recorded dialogue and selected the best gags and lines that his crew would create character animation to match. The producers added many in-jokes and references to Disney's previous works in the film, such as a "cameo appearance" from directors Clements and Musker and drawing some characters based on Disney workers. Beast, Sebastian, and Pinocchio make brief appearances, and the wardrobe of the Genie at the end of the film—a Goofy hat, a Hawaiian shirt, and sandals—are a reference to a short film that Robin Williams did for the Disney-MGM Studios tour in the late 1980s. Robin Williams' conflicts with the studio In gratitude for his success with Touchstone Pictures' Good Morning, Vietnam, Robin Williams voiced the Genie for SAG scale pay—$75,000—instead of his asking fee of $8 million, on the condition that his name or image not be used for marketing, and his (supporting) character not take more than 25% of space on advertising artwork, since Williams' film Toys was scheduled for release one month after Aladdins debut. For financial reasons, the studio went back on the deal on both counts, especially in poster art by having the Genie in 25% of the image, but having other major and supporting characters portrayed considerably smaller. The Disney Hyperion book Aladdin: The Making of an Animated Film listed both of Williams's characters "The Peddler" and "The Genie" ahead of main characters, but was forced to refer to him only as "the actor signed to play the Genie." Disney, while not using Williams' name in commercials as per the contract, used his voice for the Genie in the commercials and used the Genie character to sell toys and fast food tie-ins, without having to pay Williams additional money; Williams unhappily quipped at the time, "The only reason Mickey Mouse has three fingers is because he can't pick up a check." Williams explained to New York magazine that his previous Mork & Mindy merchandising was different because, "the image is theirs. But the voice, that's me; I gave them myself. When it happened, I said, 'You know I don't do that.' And they [Disney] apologized; they