Updated ShowRegister function