https://medium.com/@monocosmo77/recent-updates-on-research-in-finite-state-machines-part3-c584909821c0