Adding weka code