add append to save func