synthetic inheritance sample; improved comments