added centroids to progress