adding "global" context variable for supporting context-dependent geometry