added centroid