initial version of csv export