created a document component