added knn classify