add some code for vmpCommand