check for failures