refactoring virtual box