added VM wrapper
added a wrapper to wrapper function
example finished