refactoring virtual machines.