if we have no doc, throw