adding svm objective