removed resultCode