working on linear SVM