group global var together