Added csv-function