Make CheckResponse(res) private checkResponse