working on linear svm