preparing to add vcode support into wpm