Doc writer