adding export_data_to_csv