Added more to the Vm in C++