added vbmm code