preparing to factor out a vm module