Making sure that the global domain is decleared just once