adding knn