An eight-year-old girl from Indiana has survived surgery to seal off internal ruptures caused by 30 magnets and steel balls from a toy she had eaten.

Haley Lents was interviewed on the Early Show on Monday and told the TV show's co-anchor Maggie Rodriguez that she ate the magnets and steel balls because they looked like candies, according to CBS News.

Haley's parents were unaware that their daughter had eaten parts of the Magnetix toy made by Mega Brands. When the magnets and steel balls attached to each other, the parts ruptured her stomach and intestines. She could barely stand from the pain and was taken to the hospital, where she was operated on. The girl spent two weeks in the hospital.