this works except the VM needs resizing