Surgical outcome for resident and attending surgeons