more changes to transaction.rb