removed hardcoded API_KEY and SERVER