svm works