Garland underwent an extensive hospital stay at Peter Bent Brigham Hospital in Boston, Massachusetts, in which she was weaned off her medication, and after a while, was able to eat and sleep normally. During her stay, she found solace in meeting with disabled children; in a 1964 interview regarding issues raised in "A Child Is Waiting" (1963) and her recovery at Peter Bent Brigham Hospital, Garland had this to say: "Well it helped me by just getting my mind off myself and ... they were so delightful, they were so loving and good and I forgot about myself for a change". Garland returned to Los Angeles heavier, and in the fall of 1949, was cast opposite Gene Kelly in "Summer Stock" (1950). The film took six months to complete. To lose weight, Garland went back on the pills and the familiar pattern resurfaced. She began showing up late or not at all. When principal photography on "Summer Stock" was completed in the spring of 1950, it was decided that Garland needed an additional musical number. She agreed to do it provided the song should be "Get Happy". In addition, she insisted that director Charles Walters choreograph and stage the number. By that time, Garland had lost 15 pounds and looked more slender. "Get Happy" was the last segment of "Summer Stock" to be filmed. It was her final picture for MGM. When it was released in the fall of 1950, "Summer Stock" drew big crowds and racked up very respectable box-office receipts, but because of the costly shooting delays caused by Garland, the film posted a loss of $80,000 to the studio.