A 6-year-old girl who sat on an open drain in a wading pool lost part of her intestinal tract to the drain’s powerful suction, her family said.

Abigail Taylor was injured in the wading pool on June 29, according to her family.

Her father, Scott Taylor, said the suction caused a 2-inch tear in Abigail’s rectum and pulled out much of her small intestine. Doctors had to remove the part of her intestines that remained, according to the family’s lawyer, Bob Bennett.

Abigail remained in intensive care at Children’s Hospital on Thursday and appeared to be improving, Bennett said.

She was to undergo surgery on Friday, Bennett said. “She’ll receive her nutrition through a port for the rest of her life,” he said.

Bennett said the swimming pool’s drain hole was improperly uncovered. However, the general manager of the club where the pool is located said he didn’t think anything was wrong with the pool. He referred questions to the attorney for the club’s insurance company, who declined to comment.

Several states have passed pool-safety laws after children drowned or were disemboweled by drain suction. North Carolina, for instance, requires pools to have dual drains to diffuse the force of the suction and prevent children from being trapped.