basic registry works