adding k-means