added a centroid