diff --git a/redash_client.py b/redash_client.py
index <HASH>..<HASH> 100644
--- a/redash_client.py
+++ b/redash_client.py
@@ -9,14 +9,12 @@ class RedashClient(object):
     self.api_key = api_key
 
   def new_query(self, name, query_string, data_source_id):
-    r0 = requests.post(
+    query_id = requests.post(
       self.BASE_URL + "/queries?api_key=" + self.api_key,
       data = json.dumps({"name": name, "query": query_string, "data_source_id": data_source_id}), 
-    ).json()
-
-    query_id = r0["id"]
+    ).json()["id"]
 
-    r1 = requests.post(
+    requests.post(
       self.BASE_URL + "/queries/" + str(query_id) + "/refresh?api_key=" + self.api_key
     ).json()
Cleaning up new_query() function.