added knn but is segfaulting, going to change to f
instead of class