added add-transactions method