adding the state