updated for single vm.