setRegistration