wrapped non-final public members in Memory to use getters & setters, for safety