smart virtual machine prototype.