adding registry and sb