start of building out a document object