New version not fully working, the rhythm now stays blocked in a state