 The project was originally conceived to star Gene Kelly, Fred  Astaire, Judy Garland, and Ann Miller. When none of them was  available and the actual cast was set, the script had to be modified  to suit their personalities.