first version of CSV export