updated for vm