template for the document