finalizing registration