Add collect_tran_records and dump methods
fixed