inheritance structure made