simplify global variables