string as a base class