worked on Transaction.cpp