simplified knn