Scopes inheritance exercise