global var put together