rename @transaction to result