returning the array of failed items