revised save routines