prep for writing document