could not configure the helper module to convert hex string to int, so just used string conversion to generate the int value