added kill for kmeans