lesson about inheritance