adding in shell of the state machine, a couple more subVi's