added ad k-means