Renaming ats to vmm. Added new functions to test it