registry and factory added