nit: Call this variable `status_code`?