got custom action state machine working