start writing document