svm only
add sum to output
fix