added some vsm stuff