add up transactionswrites to csv need work on session destroy