added information about inheritance and data members