added pushscope/popscope to VM