add mass_dist function