Patients underwent laparoscopic surgery for endometriosis and were randomized sequentially into 2 groups : transient ovarian suspension was performed in the treatment group ( n = 40 ) , whereas in the control group ( n = 40 ) ovaries were left free in the pelvis .