Added state transition