fixed the code so it reads hexadecmial too