added some debug output to AddTransaction