added getTransactions