add class static data member to global vars