added uriIn for the kmeans