why is this one deprecated? the legacySetup is