now that the code accounts for "Failed"...