add registryhandler