forgot about the existance of virtualmachine

also fixed some really really stupid code of mine, feel free to hit me
for it if you read this message