finally working on bestmsm package