magic number moved to registry