finally got the transactions to work.