Adding k-Means clustering