changed call from .hex to .fromHex for clarity