https://medium.com/@monocosmo77/recent-updates-on-research-in-finite-state-machines-part2-16d5ca77e393