change -sim to -knn