added centre_of_mass