change register way