Added weka API