A total of 291 adult patients undergoing cardiac surgery with cardiopulmonary bypass were recruited in three hospitals and randomized to receive dexamethasone 1 mg/kg ( n = 145 ) or placebo ( n = 146 ) .