Begin write the doc