adding an option to output all transactions