add save routine to remove dc operation