he,ziqi add method saveZ, saveXY