db stuff for vm2