added plot_vs_mass