adding a registry