converted registry to compact array style