added header to the csv file