Created interface for transitions from state to state