move api key into variable