add status code checking to empty response check
update readme