added loop subkey registry