Broken state-machines