second attempt at setting api key