states: onEnter and onLeave should provide the machine state args