document start procedure