progress on KNN