distinguish between Flow and Set<Flow>