https://www.el3dala.com/2020/09/Formula-flags-inheritance.html