now writes valid .arff files