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