new changes in msm functions