izzum
- changed some rules
- added statemachine