working on svm