now getting same output as megam in classification