updated stuff for vm