removed unnecessary check for 200 response