Make it work version.

gamble statemachine has been fixed.