responseCode checking added