integrating with weka