 Allen initially filmed a downbeat ending in which he was shot to  death, courtesy of special effects from A.D. Flowers (qv). Allens  editor, Ralph Rosenblum (qv) (whose first work with Allen this  was), convinced him to go for a lighter ending.