updated call to transaction.void