updated to work with VM