make the api key global