understanding parent and child scopes - child inherits from parents but not the otherwise