mscudei changes.

please review.