added spec_set_mass