adding global var component