returning centroid as list