emit a value->transition to the next state-> if current state isn't the end state then repeat.