tweaked m.s.l to use root as well