Added the beginnings of the state variables.