derivatives base class