Added a hex string function