-added date field to createCSV