added complete knn