modified SVM example