finished inheritance