doc formatted