first draft of svm