functional registry with errors