create data to csv; intermediate