began work on fixing function calls; removed separation of function and program in the vm