add close cycle