adapted CSV export