updated code, removed api keys