Finished the transaction module