Using center of mass