add inheriance