Working on the addition to DB when creating transaction.