Create gloabl abtement

Trying to apply a single global variable to reduce the the global footprint