demand-withdraw cycle