IMHO we should give a different name to the `dirty` variable and add a description about what is supposed to be used for. Something like `updateVMNumber` seems better IMHO.