refactoring; getter/setter for state