https://www.readt2olearn.com/2023/08/flow-condition.html