working svm prototype added