Nit: replace flow with cause since we're dealing with FlowCause