require the hex to be passed