before adding mass
added mass as param