now everything works, passing this to svm comming