base class init