Janowitz and Mayer are said to have set out to write a story denouncing arbitrary authority as brutal and insane. Janowitz said it was only years after the film was released that he realized exposing the "authoritative power of an inhuman state" was the "subconscious intention" of the writers. However, Hermann Warm, who designed the film's sets, said Mayer had no political intentions when he wrote the film. Film historian David Robinson noted Janowitz did not refer to anti-authority intentions in the script until many decades after "Caligari" was released, and he suggested Janowitz's recollection may have changed in response to later interpretations to the film. The film they wrote was entitled "Das Cabinet des Dr. Caligari", using the English spelling "Cabinet" rather than the German "Kabinett". The completed script contained 141 scenes. Janowitz has claimed the name "Caligari", which was not settled upon until after the script was finished, was inspired by a rare book called "Unknown Letters of Stendhal", which featured a letter from the French novelist Stendhal referring to a French officer named Caligari he met at the La Scala theatre in Milan. However, no record of any such letter exists, and film historian John D. Barlow suggested Janowitz may have fabricated the story. The physical appearance of Caligari was inspired by portraits of the German philosopher Arthur Schopenhauer. The character's name is spelled "Calligaris" in the only known surviving script, although in some instances the final "s" is removed. Other character names are also spelled differently from the final film: Cesare appears as "Caesare", Alan is "Allan" or sometimes "Alland" and Dr. Olfen is "Dr. Olfens". Likewise, unnamed characters in the final film have names in the script, including the town clerk ("Dr. Lüders") and the house-breaker ("Jakob Straat").