beginnings of state accessor/setter functions