added addRequiredResources() tp the registry