setup api key
cleaned up