Added transitions between states