add register.