add mspdebug formula