added 200 status check