added consumer for KNN