continuing mods to kmeans