We randomly assigned 25 participants to initial treatment in either the closed-loop group or the control group , patients were later crossed over into the other group ; one patient from the closed-loop group withdrew consent after randomisation , and data for 24 patients were analysed .