same as the code before it but using get/set instead of brackets. InheritingDict doesn't support brackets c/d?