Start adding state transitions