handling registry entries