`t` stood for text in the original method (I'm lazy, you should never do this). It should `state` here.