started SVM code