added alternative registry implementation