more work on converting stats to PMML