added information about object construction with inheritance