knn finish