added kNN classifier