Reruns/branch lms

Yes, I had noted on the other PR that I had incorrectly merged the PRs and there are 2 defs of this fn with this being the old wrong one.