added references and created empty carcass from providerBase