support for writing arff format