"like a sister", but eventually acknowledges that he finds her attractive. After discussing it, all four remove their clothes and climb into bed together. Swapping partners, Bob and Alice kiss fervently, as do Ted and Carol, but after a few moments all four simply stop. The scene cuts to the couples walking to the elevator, riding it down, and walking out of the casino hand-in-hand with their original partners. A crowd of men and women of various cultures and races congregate in the casino parking lot, wherein the four main characters exchange long stares with each other and with strangers, reminiscent of the non-verbal communication shown in the early scene at the retreat. Cast Production Director Paul Mazursky was inspired by an article he read in Time magazine about Fritz Perls, a "gestalt therapist" that was described as being in a hot tub with naked people at a place called the Esalen Institute (located in the Slates Hot Springs in Big Sur, California), a place formed in 1962 dealing with New Age therapy. Mazursky went there with his wife as the only two people in the group who knew each other. This, alongside further collaboration in Palm Springs with writing partner Larry Tucker, resulted in a final script. Mazursky, having been denied the chance to direct I Love You, Alice B. Toklas, a script he wrote with Tucker, insisted on directing. Producer Mike Frankovich expressed interest. Mazursky insisted on directing, citing his direction of a short called Last Year at Malibu and his study of acting alongside observing camerawork from the aforementioned Toklas film and studying editing at the University of Southern California at night as credentials. Frankovich accepted him as director, while Tucker would produce and Frankovich served as executive producer. For the psychotherapist scene, Mazursky cast his own therapist Donald F. Muhich that he had been seeing to act opposite Dyan Cannon. Muhich would appear in three further films with Mazursky as director. The original ending in the first draft involved the four characters crying in each other's arms after an aborted orgy, complete with pulling themselves together on their way to a Tony Bennett show. Instead, Mazursky went with an ending that sees the characters walk with each other back outside while "What the World Needs Now Is Love" plays in the background, which he called his "Fellini ending" (as it resembled the ending to 8½ (1963)).