adding VarEntry and LoopVarEntry