Stephen Sondheim, who did not like the sequence of the songs in the Broadway version, had the song "Gee, Officer Krupke" being sung before the rumble in place of the song "Cool" which is sung instead "after" the rumble; the song "I Feel Pretty" is also sung before the rumble instead of after. In addition, the song "America" was sung in-between the two love songs "Maria" and "Tonight", instead of having the two love songs being sung consecutively. Though mentioned in earlier scripts, the "Somewhere" dream ballet was not well defined for the film and was put on the back burner for Robbins to conceive and execute towards the end of shooting. With Robbins relieved of his duties midway in the production, the dance sequence was eliminated. "Somewhere" was left to be sung by Tony and Maria in her bedroom. Reprises of the lyrics were omitted as well, especially in the songs "One Hand, One Heart" and "A Boy Like That". Some lyrics were changed in order to avoid censorship, especially in the songs "Jet Song", "Gee, Officer Krupke", "America" and the "Tonight Quintet". Even the phrase "Womb to Tomb, Sperm to Worm" between Riff and Tony had to be replaced with "Womb to Tomb, Birth to Earth" between Riff and Tony near the beginning of the film and "One-Two-Three, One-Two-Three" between Riff and Diesel in the Quintet.