Added hexadecimal mode