change registration anme to same class