beginnings of the document store