Centroid example