Added transaction class