added mem to csv