In this study the investigators titrate the administration of sedatives using bispectral analysis of the EEG. The investigators compared 2 drugs, propofol versus midazolam regarding patient subjective tolerance, recovery of brain function, safety and operator's satisfaction.