add a simple version of state transmit in vsfsm