moved away from StaticPrivate to Private only
so that we do not have to use the depreciated interface
first part of error handling done