One group ( n = 36 ) received remifentanil ( 1 g/kg ) , and the other group ( n = 35 ) received morphine ( 100 g/kg ) and midazolam ( 50 g/kg ) at a predefined time before intubation ( different in each group ) , to optimize the peak effect of each drug .