svm work