externalized the document