adding kmeans… again, ugly coding :)