Updated MMSB code
updated var_like MMSB (still not correct)