removing unnecessary comments and the api key