added hexToByte