document save routines