Added the state variable