edit base class