add state machine to chords