ndsl base class