added archive_transaction method