Added state variable.