Filming "Take Me Out to the Ball Game" (1949) was, according to Williams in her autobiography, an experience of "pure misery." A period musical starring Gene Kelly and Frank Sinatra, the two male leads' characters were players in a baseball team owned by K.C. Higgins, Williams's role. She claimed that Kelly and co-writer Stanley Donen treated her with contempt and went out of their way to make jokes at her expense. The film was well-received critically and became a major commercial success, raking in $3.4 million in rentals and becoming the 11th highest earning film of the year. Williams made "Neptune's Daughter" (also 1949) around the same time with co-stars Ricardo Montalbán, Red Skelton and Betty Garrett, who had also been in "Take Me Out to the Ball Game." In the film, Williams sings "Baby, It's Cold Outside" with Montalbán. The song won the Academy Award for Best Original Song at the 22nd Academy Awards. Williams and Montalbán were originally slated to sing "(I'd Like to Get You on a) Slow Boat to China", but studio censors thought the song was too sexual (interpreting the word "get" as "have") and instead gave them "Baby, It's Cold Outside." "Neptune's Daughter" became the 10th highest-grossing film of 1949.