groundwork for k-means