A clone of weka's trunk