adding DocumentForm class