Patients were randomly assigned to receive sedation with midazolam or propofol. In the group of midazolam the initial dose was 0.05 mg/kg and in propofol group, the starting dose was 0.1 mg /kg. Additional doses of the corresponding drug (2 mg of midazolam or 10 mg of propofol) were allowed to reach a score level of 3 to 4 in the Observer´s assessment of alertness/ sedation scale. All patients received nalbuphine in a starting dose of 2 mg with additional doses of 1 mg if it was necessary. Prior to insertion of the bronchoscope, lidocaine spray was applied to the nasal mucosa and pharynx for bronchoscope nasal insertion, and only in the pharynx for bronchoscope oral insertion. Topical lidocaine was applied using the spray-as-you-go technique, at a maximum dose of 7 mg/kg.