Inclusion Criteria:  Female patients scheduled for benign gynaecological surgery 18-80 years old ASA I-III  Exclusion Criteria:  Morbid obesity Conduct disorder or anxiety-depressive syndrome Chronic treatment with psychotropic drugs or opiates Pregnancy Alcohol abuse Documented allergy to remifentanil or midazolam Refusal to participate in the study