transaction parcially implemented
transaction data sent to db