forgot to document D.MS functions