basic registry logic WIP