add inheris class