svm working