give state name to change states, instead of the state itself