add support for context2, varmap2, continue2