inheritance-sample