initializing registration