Added dumpHex method