moved api key to config