added a pattern to state 2 of the inputs