grammar here is not quite right and I'm not sure how it should be.  "if it has given one"... should that be "if it has one"?