added saving after each sweep