Additional work implementing a hex conversion functiongs