maybe we should put `name` here instead, in case we end up changing the state's name and forget to change the name here.